package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBo;

import java.util.List;

public interface SubjectCategoryDomainService {
    void add(SubjectCategoryBo subjectCategoryBo);

    /**
     * 查询岗位大类
     * @return
     */
    List<SubjectCategoryBo> queryCategory(SubjectCategoryBo subjectCategoryBo);

    /**
     * 更新分类
     * @param subjectCategoryBo
     * @return
     */
    Boolean update(SubjectCategoryBo subjectCategoryBo);

    /**
     * 删除分类
     * @param subjectCategoryBo
     * @return
     */
    Boolean delete(SubjectCategoryBo subjectCategoryBo);

    /**
     * 一次性查询分类及标签
     * @param subjectCategoryBo
     * @return
     */
    List<SubjectCategoryBo> queryCategoryAndLabel(SubjectCategoryBo subjectCategoryBo);

}
